//
//  KABMallSurOrdFooterHFView.h
//  kabu
//
//  Created by XiangDongMBP on 2017/2/21.
//  Copyright © 2017年 East. All rights reserved.
//

#import <UIKit/UIKit.h>

@class KABMallSurOrdFooterHFView;
@protocol KABMallSurOrdFooterHFViewDelegate <NSObject>
@optional
- (void)kABMallSurOrdFooterHFView:(KABMallSurOrdFooterHFView *)view section:(NSInteger)section leftBtnTapped:(UIButton *)btn;
- (void)kABMallSurOrdFooterHFView:(KABMallSurOrdFooterHFView *)view section:(NSInteger)section rightBtnTapped:(UIButton *)btn;
@end

@class KABMallOrderDetail;
@interface KABMallSurOrdFooterHFView : UITableViewHeaderFooterView

@property (weak, nonatomic) IBOutlet UILabel *totalLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UIButton *rightBtn;
@property (weak, nonatomic) IBOutlet UIButton *leftBtn;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *bottomBgViewHeightConstraint;

@property (assign, nonatomic) NSInteger section;
@property (weak,   nonatomic) id<KABMallSurOrdFooterHFViewDelegate>delegate;

- (void)configViewWithOrderDetail:(KABMallOrderDetail *)orderDetail;
@end


@interface KABMallSurOrdFooterHFView (MallSureOrder)
- (void)configViewWithAttributeString:(NSAttributedString *)aStr;
@end
